package bean;

import java.util.HashMap;
import java.util.Map;

public class Cart {
	private int id;
	private int userid;
	private int goodsid;
	private int goodsNum;
	public Cart() {}
	public Cart(int id, int userid, int goodsid, int goodsNum) {
		super();
		this.id = id;
		this.userid = userid;
		this.goodsid = goodsid;
		this.goodsNum = goodsNum;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public int getGoodsid() {
		return goodsid;
	}
	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}
	public int getGoodsNum() {
		return goodsNum;
	}
	public void setGoodsNum(int goodsNum) {
		this.goodsNum = goodsNum;
	}
	
	
}
